package com.hs.ding.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Ding
 * @since 2022-06-20
 */
@TableName("t_dispatch")
public class Dispatch implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 运输单号
     */
    private String tOrderId;

    /**
     * 派车单号
     */

    private String dOrderId;

    /**
     * 派车单状态；0未处理；1处理；
     */
    private Integer dStatus;

    /**
     * transport 表信息
     * @return
     */
    @TableField(exist = false)
    private Transport transport;


    /**
     * 异常状态；0正常；1异常
     * @return
     */
    private Integer eStatus;

    public Integer geteStatus() {
        return eStatus;
    }

    public void seteStatus(Integer eStatus) {
        this.eStatus = eStatus;
    }

    public Transport getTransport() {
        return transport;
    }

    public void setTransport(Transport transport) {
        this.transport = transport;
    }

    public String gettOrderId() {
        return tOrderId;
    }

    public void settOrderId(String tOrderId) {
        this.tOrderId = tOrderId;
    }
    public String getdOrderId() {
        return dOrderId;
    }

    public void setdOrderId(String dOrderId) {
        this.dOrderId = dOrderId;
    }
    public Integer getdStatus() {
        return dStatus;
    }

    public void setdStatus(Integer dStatus) {
        this.dStatus = dStatus;
    }

    @Override
    public String toString() {
        return "Dispatch{" +
                "tOrderId='" + tOrderId + '\'' +
                ", dOrderId='" + dOrderId + '\'' +
                ", dStatus=" + dStatus +
                ", transport=" + transport +
                ", eStatus=" + eStatus +
                '}';
    }
}
